Redis使用密码登录¶ (1)进入redis客户端安装目录:¶ (2)输入命令:redis-cli.exe -h 主机号 -p 端口号 如:redis-cli.exe -h 127.0.0.1 -p 6379 (3)输入密码命令:auth 密码 若显示OK则登录成功: